<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>data-manage</title>
</head>
<body>
<div id="app">
  <router-view></router-view>
</div>
<!-- built files will be auto injected -->
</body>
<script>
  function readServerConfig(result) {
    window.localStorage.setItem('serverHost', result.serverHost)
    window.localStorage.setItem('serverPort', result.serverPort)
    window.localStorage.setItem('clientId', result.clientId)
    window.websocket = new WebSocket(result.websocketUrl)
    window.websocket.onopen = (e) => {
      console.log(e)
    }
    window.websocket.onerror = (e) => {
      console.log(e)
    }
    window.websocket.onmessage = (e) => {
      console.log(e)
    }
    window.websocket.onclose = (e) => {
      console.log(e)
    }

  }
</script>
</html>
